package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author liuy
 * @since 2022-05-04
 */
@TableName("bty_hykzs")
public class BtyHykzs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店名
     */
    @ExcelProperty(index = 0)
    @TableField("dm")
    private String dm;

    /**
     * 赠送金额
     */
    @ExcelProperty(index = 1)
    @TableField("zsje")
    private BigDecimal zsje;

    /**
     * 用券金额
     */
    @ExcelProperty(index = 2)
    @TableField("yqje")
    private BigDecimal yqje;

    /**
     * 用友大区编号
     */
    @ExcelProperty(index = 3)
    @TableField("region")
    private String region;

    /**
     * 1成功
     */
    @TableField("flag")
    private Integer flag;

    /**
     * 失败原因
     */
    @TableField("errormsg")
    private String errormsg;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDm() {
        return dm;
    }

    public void setDm(String dm) {
        this.dm = dm;
    }

    public BigDecimal getZsje() {
        return zsje;
    }

    public void setZsje(BigDecimal zsje) {
        this.zsje = zsje;
    }

    public BigDecimal getYqje() {
        return yqje;
    }

    public void setYqje(BigDecimal yqje) {
        this.yqje = yqje;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    @Override
    public String toString() {
        return "BtyHykzs{" +
                "id=" + id +
                ", dm=" + dm +
                ", zsje=" + zsje +
                ", yqje=" + yqje +
                ", region=" + region +
                ", flag=" + flag +
                ", errormsg=" + errormsg +
                "}";
    }
}
